package com.yuetong.employee.service;

import java.util.List;
import com.yuetong.employee.domain.YtEmployeeBasicInfo;

/**
 * 职工基本信息Service接口
 * 
 * @author  卓晓君
 * @date 2025-04-24
 */
public interface IYtEmployeeBasicInfoService 
{
    /**
     * 查询职工基本信息
     * 
     * @param employeeId 职工基本信息主键
     * @return 职工基本信息
     */
    public YtEmployeeBasicInfo selectYtEmployeeBasicInfoByEmployeeId(Long employeeId);

    /**
     * 查询职工基本信息列表
     * 
     * @param ytEmployeeBasicInfo 职工基本信息
     * @return 职工基本信息集合
     */
    public List<YtEmployeeBasicInfo> selectYtEmployeeBasicInfoList(YtEmployeeBasicInfo ytEmployeeBasicInfo);

    /**
     * 新增职工基本信息
     * 
     * @param ytEmployeeBasicInfo 职工基本信息
     * @return 结果
     */
    public int insertYtEmployeeBasicInfo(YtEmployeeBasicInfo ytEmployeeBasicInfo);

    /**
     * 修改职工基本信息
     * 
     * @param ytEmployeeBasicInfo 职工基本信息
     * @return 结果
     */
    public int updateYtEmployeeBasicInfo(YtEmployeeBasicInfo ytEmployeeBasicInfo);

    /**
     * 批量删除职工基本信息
     * 
     * @param employeeIds 需要删除的职工基本信息主键集合
     * @return 结果
     */
    public int deleteYtEmployeeBasicInfoByEmployeeIds(Long[] employeeIds);

    /**
     * 删除职工基本信息信息
     * 
     * @param employeeId 职工基本信息主键
     * @return 结果
     */
    public int deleteYtEmployeeBasicInfoByEmployeeId(Long employeeId);

    /**
     * 根据userId查询职工基本信息
     * @param userId
     * @return
     */
    YtEmployeeBasicInfo selectYtEmployeeBasicInfoByUserId(Long userId);
}
